package com.zy.stock.domain;

import java.util.Date;

/**
 * 股票实体
 * @author zhangyi
 *
 */
public class Stock {
	
	private Integer id;
	
	private String code;//编码
	
	private String name;//股票名称
	
	private Double value;//最新收盘价
	
	private Double appraisement;//估值
	
	private Double earnings;//预测收益
	
	private String status;//0 待观察 1 考虑购买
	
	private String remark;//备注
	
	private Date createTime;//创建时间
	
	private Date updateTime;//更新时间
	
	private String crawlStatus;//记录上一次抓取状态 停牌 或者 已收盘等
	
	public String getCrawlStatus() {
    return crawlStatus;
  }

  public void setCrawlStatus(String crawlStatus) {
    this.crawlStatus = crawlStatus;
  }

  public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getValue() {
		return value;
	}

	public void setValue(Double value) {
		this.value = value;
	}

	public Double getAppraisement() {
		return appraisement;
	}

	public void setAppraisement(Double appraisement) {
		this.appraisement = appraisement;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Double getEarnings() {
		return earnings;
	}

	public void setEarnings(Double earnings) {
		this.earnings = earnings;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}		
}
